package com.example.loggingconsumer.event;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author leonzhangxf
 */
@NoArgsConstructor
@AllArgsConstructor
public class PersonSaved {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return this.name;
    }
}
